package com.ewzj.bigdata.mvp.model.rspbean;

import java.util.List;

/**
 * author:zhangjing
 * 作用:订阅过滤条件
 * return:
 */

public class SubFilterBean {


    /**
     * code : 0
     * data : [{"id":"63","name":"成都市","pid":"1","children":[{"id":"64","name":"锦江区","pid":"63"},{"id":"65","name":"青羊区","pid":"63"},{"id":"66","name":"金牛区","pid":"63"},{"id":"67","name":"武侯区","pid":"63"},{"id":"68","name":"成华区","pid":"63"},{"id":"69","name":"高新区","pid":"63"},{"id":"70","name":"高新西区","pid":"63"},{"id":"71","name":"天府新区","pid":"63"}]},{"id":"2","name":"价格","pid":"0","children":[{"id":"12","name":"6000元/㎡以下","pid":"2"},{"id":"13","name":"6000-8000元/㎡","pid":"2"},{"id":"14","name":"8000-10000元/㎡","pid":"2"},{"id":"15","name":"10000-15000元/㎡","pid":"2"},{"id":"16","name":"15000元/㎡以上","pid":"2"}]},{"id":"3","name":"户型","pid":"0","children":[{"id":"17","name":"1室","pid":"3"},{"id":"18","name":"2室","pid":"3"},{"id":"19","name":"3室","pid":"3"},{"id":"20","name":"4室","pid":"3"},{"id":"21","name":"5室","pid":"3"},{"id":"22","name":"5室以上","pid":"3"}]},{"id":"4","name":"面积","pid":"0","children":[{"id":"23","name":"50㎡以下","pid":"4"},{"id":"24","name":"50-70㎡","pid":"4"},{"id":"25","name":"70-90㎡","pid":"4"},{"id":"26","name":"90-110㎡","pid":"4"},{"id":"27","name":"110-130㎡","pid":"4"},{"id":"28","name":"130-150㎡","pid":"4"},{"id":"29","name":"150-200㎡","pid":"4"},{"id":"30","name":"200-300㎡","pid":"4"},{"id":"31","name":"300㎡以上","pid":"4"}]},{"id":"5","name":"特色","pid":"0","children":[{"id":"32","name":"微聊","pid":"5"},{"id":"33","name":"沙盘","pid":"5"},{"id":"34","name":"视频","pid":"5"},{"id":"35","name":"刚需房","pid":"5"},{"id":"36","name":"低总价","pid":"5"},{"id":"37","name":"品牌开发商","pid":"5"},{"id":"38","name":"二环至三环","pid":"5"},{"id":"39","name":"综合体","pid":"5"},{"id":"40","name":"改善房","pid":"5"},{"id":"41","name":"一环内","pid":"5"}]},{"id":"6","name":"房龄","pid":"0","children":[{"id":"42","name":"2年内","pid":"6"},{"id":"43","name":"2-5年","pid":"6"},{"id":"44","name":"5-10年","pid":"6"},{"id":"45","name":"10年以上","pid":"6"}]},{"id":"7","name":"装修","pid":"0","children":[{"id":"46","name":"毛坯","pid":"7"},{"id":"47","name":"简单装修","pid":"7"},{"id":"48","name":"中等装修","pid":"7"},{"id":"49","name":"精装修","pid":"7"},{"id":"50","name":"豪华装修","pid":"7"},{"id":"51","name":"其他","pid":"7"}]},{"id":"8","name":"类型","pid":"0","children":[{"id":"52","name":"公寓","pid":"8"},{"id":"53","name":"普通住宅","pid":"8"},{"id":"54","name":"别墅","pid":"8"},{"id":"55","name":"平房","pid":"8"},{"id":"56","name":"其他","pid":"8"}]},{"id":"9","name":"朝向","pid":"0","children":[{"id":"57","name":"朝东","pid":"9"},{"id":"58","name":"朝南","pid":"9"},{"id":"59","name":"朝西","pid":"9"},{"id":"60","name":"朝北","pid":"9"},{"id":"61","name":"南北","pid":"9"},{"id":"62","name":"东西","pid":"9"}]},{"id":"10","name":"其他","pid":"0","children":[]}]
     */

    private int code;
    private List<DataEntity> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * id : 63
         * name : 成都市
         * pid : 1
         * children : [{"id":"64","name":"锦江区","pid":"63"},{"id":"65","name":"青羊区","pid":"63"},{"id":"66","name":"金牛区","pid":"63"},{"id":"67","name":"武侯区","pid":"63"},{"id":"68","name":"成华区","pid":"63"},{"id":"69","name":"高新区","pid":"63"},{"id":"70","name":"高新西区","pid":"63"},{"id":"71","name":"天府新区","pid":"63"}]
         */

        private String id;
        private String name;
        private String pid;
        private String dics_type;

        public String getDics_type() {
            return dics_type;
        }

        public void setDics_type(String dics_type) {
            this.dics_type = dics_type;
        }

        private List<ChildrenEntity> children;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public List<ChildrenEntity> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenEntity> children) {
            this.children = children;
        }

        public static class ChildrenEntity {
            /**
             * id : 64
             * name : 锦江区
             * pid : 63
             */

            private String id;
            private String name;
            private String pid;
            private boolean isseld;

            public boolean isseld() {
                return isseld;
            }

            public void setIsseld(boolean isseld) {
                this.isseld = isseld;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }
        }
    }
}
